<?php
$text= $_GET['text'];
$src = "https://api.vvhan.com/api/qr?text=".$text;
header('Content-type: image/png');
$res = imagecreatefromstring(file_get_contents($src));
imagepng($res);
imagedestroy($res);
?>